import { IsNotEmpty, IsOptional } from "class-validator";
export class CreatePwdManagementDto {
    @IsNotEmpty({ message: '账号不能为空' })
    account: string

    @IsNotEmpty({ message: '密码不能为空' })
    pwd: string

    @IsOptional() // 设为可选项
    website: string

    @IsOptional() // 设为可选项
    remark: string
}